module.exports = {
  // token加密与解密的秘钥
  jtwSecreKey: process.env.JWT_SECRET || 'itXjm',
  expiresIn: process.env.JWT_EXPIRES_IN || '10h', //token的有效期
  
  // 数据库配置
  db: {
    host: process.env.DB_HOST || 'localhost',
    user: process.env.DB_USER || 'root',
    password: process.env.DB_PASSWORD || '',
    database: process.env.DB_NAME || 'my_db_1',
    port: process.env.DB_PORT || 3306
  }
}